package com.baymax.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baymax.common.BaseEntity;
import lombok.Data;

/**
 * 用户 实体类
 *
 * @Author: baymax
 * @CreateTime: 2023/3/28 21:04
 * @Version: 1.0
 */
@TableName(value = "sys_user")
@Data
public class SysUser extends BaseEntity {

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

}
